package com.ggk911.pharmacy_system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 库存
 *
 * @author ggk-911
 * @version 1.0 2023/3/19 16:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("inventory")
@ApiModel
public class Inventory {
    private Integer drugInfoId;

    private Integer inventoryNum;

    @TableField(exist = false)
    private DrugInfo drugInfo;

    @TableField(exist = false)
    private DrugPrice drugPrice;

}
